projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a412141
)
Fix byte-compilation warning in benchmark-run
author
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 10 Mar 2021 14:52:36 +0000
(15:52 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 10 Mar 2021 14:52:54 +0000
(15:52 +0100)
* lisp/emacs-lisp/benchmark.el (benchmark-run): Avoid a
byte-compilation warning about an empty let body (bug#46819).
lisp/emacs-lisp/benchmark.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/benchmark.el
b/lisp/emacs-lisp/benchmark.el
index 14bc2817390fb33735e413813361abc7824f2def..2a3efbe5a1b2fa972dfaf1a7fa21ec914cba24a5 100644
(file)
--- a/
lisp/emacs-lisp/benchmark.el
+++ b/
lisp/emacs-lisp/benchmark.el
@@
-62,7
+62,8
@@
See also `benchmark-run-compiled'."
;; Take account of the loop overhead.
`(- (benchmark-elapse (dotimes (,i ,repetitions)
,@forms))
- (benchmark-elapse (dotimes (,i ,repetitions))))
+ (benchmark-elapse (dotimes (,i ,repetitions)
+ nil)))
`(benchmark-elapse ,@forms))
(- gcs-done ,gcs)
(- gc-elapsed ,gc)))))